import { createApp } from 'vue'
// import '@/style.css'
import '@/styles'
import App from '@/App.vue'
import router from './modules/router'
import pinia from './modules/pinia'
import useGlobalComponents from './components'
import useRouterGuard from './modules/router/guard'


function startBoot() {
    const app = createApp(App)
    app.use(router)
    app.use(pinia)
    useGlobalComponents(app)
    useRouterGuard()
    app.mount('#app')
}

startBoot()